﻿@inherits BaseComponent
@if ( !HasCustomRegistration )
{
    <section @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" @attributes="@Attributes">
        <CascadingValue Value=this>
            @ChildContent
        </CascadingValue>
    </section>
}
else
{
    @RenderCustomComponent()
}